package com.linx.lounge.domain.bo;

import com.linx.lounge.domain.LoungeFacility;
import com.linx.common.core.validate.AddGroup;
import com.linx.common.core.validate.EditGroup;
import io.github.linpeilie.annotations.AutoMapper;
import lombok.Data;
import jakarta.validation.constraints.*;

/**
 * 休息室-设施业务对象 lounge_facility
 *
 * @author linx
 * @date 2024-10-22
 */
@Data
@AutoMapper(target = LoungeFacility.class, reverseConvertGenerate = false)
public class LoungeFacilityBo {

    /**
     * 主键
     */
    @NotNull(message = "主键不能为空", groups = { EditGroup.class })
    private Long loungeFacilityId;

    /**
     * 备注
     */
    private String remark;

    /**
     * 设施名称
     */
    @NotBlank(message = "设施名称不能为空", groups = { AddGroup.class, EditGroup.class })
    private String facilityName;

    /**
     * 设施编码
     */
    @NotBlank(message = "设施编码不能为空", groups = { AddGroup.class, EditGroup.class })
    private String facilityCode;

    /**
     * 状态（1：启用；0：停用；）
     */
    @NotNull(message = "状态（1：启用；0：停用；）不能为空", groups = { AddGroup.class, EditGroup.class })
    private Long status;

    /**
     * 会议室id
     */
    @NotNull(message = "会议室id不能为空", groups = { AddGroup.class, EditGroup.class })
    private Long meetingRoomId;

    /**
     * 品牌名称
     */
    private String brandName;

    /**
     * 规格型号
     */
    private String spec;

    /**
     * 责任人
     */
    private String responsiblePerson;

    /**
     * 责任人电话
     */
    private String responsiblePersonTelephone;


}
